package com.thinvent.nj.ais.entity;



import com.thinvent.nj.mybatis.entity.BaseOracleEntity;

import java.util.Date;

/**
 * 组织实体
 */
public class Org extends BaseOracleEntity {

    public Org() {}

    public Org(String id) {
        setId(id);
    }

    // 父ID
    private String pId;

    // 组织全称
    private String fullName;

    // 组织简称
    private String simpleName;

    // 组织编码
    private String code;

    // 联系电话
    private String phone;

    // 成立日期
    private Date buildDate;

    // 排序
    private Integer sort;

    // 备注
    private String remarks;

    // 层级 （非数据库字段，从通过树查询得出）
    private String level;


    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getSimpleName() {
        return simpleName;
    }

    public void setSimpleName(String simpleName) {
        this.simpleName = simpleName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getBuildDate() {
        return buildDate;
    }

    public void setBuildDate(Date buildDate) {
        this.buildDate = buildDate;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getPId() {
        return pId;
    }

    public void setPId(String pId) {
        this.pId = pId;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }
}
